package com.github.data_manage.dao

import com.github.data_manage.domain.po.FundDepthResearchAttachQuarterlyInfo
import com.github.data_manage.domain.po.FundDepthResearchContrastAttachQuarterlyInfo

/**
 *
 * @author chenhainan
 * @since 2025/8/15
 */
interface FundDepthResearchAttachQuarterlyInfoDao : BaseDao<FundDepthResearchAttachQuarterlyInfo> {

    fun findByFundIdIsAndYearIsAndQuarterIs(fundId: Int, year: Int, quarter: Int): FundDepthResearchAttachQuarterlyInfo?

    fun findByFundIdIsAndYearIs(fundId: Int, year: Int): List<FundDepthResearchAttachQuarterlyInfo>

    fun findAllByFundIdIs(fundId: Int): List<FundDepthResearchAttachQuarterlyInfo>

}